//
//  AppDelegate.m
//  收纳
//
//  Created by  on 2022/10/26.
//

#import "AppDelegate.h"

@interface AppDelegate ()

@end

@implementation AppDelegate



- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    //    [self setupLocalUser];
    //    [self setupLocalRecord];
    PageController *vc = [[PageController alloc] init];
    CCNavigationController *navc = [[CCNavigationController alloc] initWithRootViewController:vc];
    CGRect frame = [[UIScreen mainScreen] bounds];
    self.window = [[UIWindow alloc] initWithFrame:frame];
    self.window.rootViewController = navc;
    [self.window makeKeyAndVisible];
    return YES;
}
//
//- (void)setUser:(User *)user{
//    _user = user;
//    if ([_user.account isEqualToString:@""]) {
//        [[NSUserDefaults standardUserDefaults] removeObjectForKey:accountkey];
//    }else{
//        [[NSUserDefaults standardUserDefaults] setValue:_user.account forKey:accountkey];
//    }
//    [[NSNotificationCenter defaultCenter] postNotificationName:notifyUserUpdate object:nil];
//}



@end
